//
//  TrackManager.h
//  taptap-server
//
//  Created by Michael Humphris on 11/08/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import "workerArgs.h"
#import "Path.h"
#import "Filesystem.h"
#import "workerResult.h"

enum difficulties { DAll, DEasy, DMedium, DHard, DExtreme };
@interface TrackManager : NSObject {
    NSMutableDictionary *templatesForDifficulty;
    NSObject<workerResult> *delegate;
}
@property (assign) NSObject<workerResult> *delegate;

-(void) processDirectory:(NSString*)containingFolder;
-(void) DoWork:(workerArgs*)args;

-(NSString*)makeTrackTemplate:(NSDictionary*)trackInfo;
-(BOOL) isValidTrack:(NSString*) pathToTrack;
-(void) copyFiles:(NSString*)pathToTrack savePath:(NSString*)savePath;
@end
